#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
#include<memory.h>
int main(void)
{
	int* p = (int*)malloc(4);
	*p = 12;
	//int i = 0;
	/*for (i = 0; i < 10; i++)
	{
		if(p!=NULL)
		{
			p[i] = i;
			printf("%d ", p[i]);
		}
	}
	memset(p, 0, 40);
	printf("%d ", p[6]);
	memset(p, 1, 40);
	printf("%d ", p[6]);*/
	//printf("%p,%d,", p, *p);
	
	free(p);
	free(p);
	//printf("%p,%d,", p, *p);

	return 0;
}